package io.framework.modules.soil.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 土壤环境质量监测
 *
 * @author Gujq email
 * @since 1.0.0 2020-05-25
 */
@Data
@ApiModel(value = "土壤环境质量监测")
public class SoilDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	private Long id;

	@ApiModelProperty(value = "村庄名称")
	private String villageName;

	@ApiModelProperty(value = "站点id")
	private Long stationId;

	@ApiModelProperty(value = "上传数据月份")
	@JsonFormat(pattern="yyyy")
	private Date month;

	@ApiModelProperty(value = "点位名称")
	private String pointName;

	@ApiModelProperty(value = "经度")
	private BigDecimal x;

	@ApiModelProperty(value = "纬度")
	private BigDecimal y;

	@ApiModelProperty(value = "土地利用类型")
	private String type;

	@ApiModelProperty(value = "达标情况")
	private String pass;

	@ApiModelProperty(value = "土壤环境质量评价等级")
	private String level;

	@ApiModelProperty(value = "土壤污染评价")
	private String remark;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date createDate;

	@ApiModelProperty(value = "备注")
	private String drRemarks;

}
